package com.javaspeak.designpatterns.go4.creational.builder;

/**
 * The Shape class models different shapes
 *
 * @author John Dickerson
 */
public class Shape {

    // Uses array of arrays.  For example the following is a square
    //
    //     1111
    //     1001
    //     1001
    //     1111
    //
    // If the above coordinates are translated (4,1) they become:
    //
    //     00000000
    //     00001111
    //     00001001
    //     00001001
    //     00001111
    protected int[][] points;


    // 0 means paint first, larger numbers will be painted next
    protected int paintLevel;


    // Name of shape
    protected String name;
}
